projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa3bb7
)
(Fsingle_key_description): Add cast when passing EMACS_INT
author
Andreas Schwab
<schwab@suse.de>
Thu, 22 Nov 2007 16:15:44 +0000
(16:15 +0000)
committer
Andreas Schwab
<schwab@suse.de>
Thu, 22 Nov 2007 16:15:44 +0000
(16:15 +0000)
values to sprintf.
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index 2edad90b73273f1f21da54ae798554ab6d469fc3..88b63e40fccda0bb0c60ce785aa5039a5d9fcca7 100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-2469,7
+2469,7
@@
around function keys and event symbols. */)
{
char buf[256];
- sprintf (buf, "Invalid char code %ld", XINT (key));
+ sprintf (buf, "Invalid char code %ld",
(long)
XINT (key));
return build_string (buf);
}
else if (charset